import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store/store'

// 加载 vant
import Vant from 'vant'
import 'vant/lib/index.css'


// 加载动态设置 REM 基准值
import "amfe-flexible"

// 加载时间日期
import '@/utils/day.js'

// 加入全局样式
import './style/index.less'

// 注册vant
Vue.use(Vant)

// 把一个小警告去掉
Vue.config.productionTip = false




new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus2 =  this;
  }
}).$mount('#app')
